home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Answers 1995 December
/
PC Answers December 1995 (disc errors).iso
/
wimage95
/
disk1
/
example.ish
< prev
next >
Wrap
Text File
|
1994-01-28
|
1KB
|
49 lines
ISHAPE
***************************************************************
* This is an example Imagemaster shape file - Example.ISH
*
* Written by Black Belt Systems - Technical Development
* 1992
*
* The First 6 characters of the file must be 'ISHAPE'
*
* Any line beginning with an asterisk will be
* ignored by the reader - a comment.
*
* Blank lines are generally ignored, except between the
* pairs of coordinates. Then a blank line causes a break in the
* outline of the shape - equivalent to lifting the pen.
*
* Shape coordinates are read as decimal or integer numbers and are
* of arbitrary size; that is, they are always scaled to fit the
* selected area of the screen.
*
* ^ Y
* | The coordinate system is normal cartesian.
* |
* .---------> X
*
*
* The shapes are NOT automatically closed, allowing maximum
* flexibility.
*
* The first non-comment/non-blank line is taken as the shape title.
********************************************************************
Example Boxes
0 0 * First box
1 0
1 1
0 1
0 0 * NOTE how the figure is closed back to the first point
2 0 * Second box
3 0
3 1
2 1
2 0 * Note how the second part is closed back to its start
2 1 * This poly-line is not closed by itself but is by the previous part
2.5 2
3 1